type EditItem = {
  id: Number;
  parentId: Number;
  path: String;
  menuname: String;
  remark: String;
  permissionId: String;
  nameZh: String;
  nameEn: String;
  nameAr: String;
  menuKey: String;
  sort: Number;
  visible: Number;
  status: Number;
  component: String;
};

export type AddItem = Omit<EditItem, "id" | "uuid">;

export class GenItem implements EditItem {
  id = 0;
  parentId = 0;
  path = "";
  menuname = "";
  remark = "";
  permissionId = "";
  nameZh = "";
  nameEn = "";
  nameAr = "";
  menuKey = "";
  sort: Number | null = null;
  visible = 0;
  status = 0;
  component = "";
}
